func net/http.hasToken
7 uses
	net/http (current package)
		header.go#L246: func hasToken(v, token string) bool {
		request.go#L1416: 	return hasToken(r.Header.get("Expect"), "100-continue")
		request.go#L1423: 	return hasToken(r.Header.get("Connection"), "keep-alive")
		request.go#L1430: 	return hasToken(r.Header.get("Connection"), "close")
		request.go#L1486: 	return hasToken(r.Header.Get("Connection"), "upgrade") &&
		server.go#L1508: 		(!keepAlivesEnabled || !hasToken(cw.header.get("Connection"), "close")) &&
		transfer.go#L277: 	if t.Close && !hasToken(t.Header.get("Connection"), "close") {
  | 
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |